package com.sikiedu.logindemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MainController {

    @RequestMapping("/index")
    public String index(){
        System.out.println("访问首页");
        return "index.html";
    }
}
